/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package newServer;

import java.nio.channels.SocketChannel;

/**
 *
 * @author Dieter Van der Stock
 */
public class Client {
    String nickname;
    SocketChannel socket;
    
    public Client(String nickname, SocketChannel socket) {
        this.nickname = nickname;
        this.socket = socket;
    }
    
    void setNickname(String nickname) {
        this.nickname = nickname;
    }
    
    void setSocket(SocketChannel socket) {
        this.socket = socket;
    }
    
    String getNickame() {
        return nickname;
    }
    
    SocketChannel getSocket() {
        return socket;
    }
}
